<template>
	<view class="myShop">
		<view class="guarantee-main">
			<view class="guarantee-box">
				<view class="guarantee-tit">
					保证金充值
				</view>
				<view class="guarantee-content">
					为保障安全交易，寄售的装备单价及交易中的单笔金额不能超过账户保证金的金额，保证金可随时进行退款!
				</view>
			</view>
			
			<view class="guarantee-btn" @click="gotoPath('/pages/topUp/topUp')">
				前往充值
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			gotoPath(url){
				uni.navigateTo({
					url
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.myShop{
		box-sizing: border-box;
		padding: 20rpx;
		.guarantee-main{
			.guarantee-box{
				box-sizing: border-box;
				padding: 30rpx;
				background-color: #fff;
				border-radius: 16rpx;
				margin-bottom: 30rpx;
				.guarantee-tit{
					margin-bottom: 30rpx;
					font-size: 28rpx;
					font-weight: 700;
				}
				
				.guarantee-content{
					background-color: #f9f9f9;
					box-sizing: border-box;
					padding: 20rpx;
					border-radius: 16rpx;
					font-size: 24rpx;
					color: #333;
					line-height: 1.8;
				}
			}
			
			.guarantee-btn{
				height: 80rpx;
				background-color: red;
				color: #fff;
				border-radius: 4px;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}
	}
</style>
